<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>

<%@page import="java.util.*,model.*,util.*,control.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="../../css/front.css" rel="stylesheet" type="text/css" />
<link href="../../css/frontstyle.css" rel="stylesheet" type="text/css" />
  <title>东师心灵港湾-动态消息管理</title>
  </head>
  <body>  
<div id="fronttop">
  <div class="fronttou">
    <img src="../../pictures/shidaxiaohui.jpg" width="149" height="105" />
    东师心灵港湾
</div>
  <div id="fronttopnavigation">
    <table width="995" height="50" border="0" align="center">
      <tr>
        <td width="71"><div align="center" class="STYLE2" ><a href="../index.jsp">首页</a></div></td>
        <td width="71"><div align="center" ><span  class="STYLE2"><a href="../shiwutongzhi/huodonggonggao.jsp">事务通知</a></span></div></td>
        <td width="71"><div align="center" ><span  class="STYLE2"><a href="../xiaoyuandongtai/sheliandongtai.jsp">校园动态</a></span></div></td>
        <td width="71"><div align="center" ><span  class="STYLE2"><a href="../shehuidongtai/shetuanxinwen.jsp">社会新闻</a></span></div></td>
        <td width="71"><div align="center" ><span  class="STYLE2"><a href="../xinlinghehu/xinlinghehu.jsp">心灵呵护</a></span></div></td>
        <td width="71"><div align="center" ><span  class="STYLE2"><a href="../xinliceshi/xinliceshi.jsp">心理测试</a></span></div></td>
        <td width="71"><div align="center" ><span  class="STYLE2"><a href="../../resources/resources_download.jsp">文件下载</a></span></div></td>
        <td width="71"><div align="center" class="STYLE2"><a href="../woyaoliuyan/woyaoliuyan.jsp">我要留言</a></div></td>
      </tr>
    </table>
  </div>
  </div>
<div id="frontarticle">
  <div id="frontarticlelefthot">
  <table width="236" height="226" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="cebianlan"	 >
      <tr >
        <td height="54"><div align="left" style="font-size:20px"  class="hengxian">管理员登陆</div></td>
      </tr>
      <tr>
        <td height="54"><div align="center" class="hengxian"><a href="xiaoshelian_xiaoxiguanli_h.jsp"><h3>事务通知管理</h3></a></div></td>
      </tr>
      <tr>
        <td height="54"><div align="center" class="hengxian"><a href="xiaoshelian_xiaoxiguanli_sd.jsp"><h3>校园动态管理</h3></a></div></td>
      </tr>
      <tr>
        <td height="54"><div align="center" class="hengxian"><a href="xiaoshelian_xiaoxiguanli_sx.jsp"><h3>社会新闻管理</h3></a></div></td>
      </tr>
      <tr>
        <td height="54"><div align="center" class="hengxian"><a href="xiaoshelian_xiaoxiguanli.jsp"><h3>心灵呵护管理</h3></a></div></td>
      </tr>
      <tr>
        <td height="54"><div align="center" class="hengxian"><a href="xiaoshelian_qitahuodong_x.jsp"><h3>心理测试管理</h3></a></div></td>
      </tr>
      <tr>
        <td height="54"><div align="center" class="hengxian"><a href="../../resources/resources.jsp"><h3>文件管理</h3></a></div></td>
      </tr>
      <tr>
        <td height="54"><div align="center" class="hengxian"><a href="xiaoshelian_xiaoxiguanli_l.jsp"><h3>留言板管理</h3></a></div></td>
      </tr>
      <tr>
        <td height="54"><div align="center" class="hengxian"><a href="xiaoshelian_xiaoxiguanli_d.jsp"><h3>动态消息管理</h3></a></div></td>
      </tr>
    </table>
  </div>
  <div id="frontarticlemain" class="cebianlan">
    
     <div><h1>修改动态新闻</h1></div>
<%
	request.setCharacterEncoding("utf-8");
 	int id=Integer.parseInt(request.getParameter("id"));
 	
	Dongxiaoxi dongxiaoxi = new Dongxiaoxi();
	DongxiaoxiControl sc = new DongxiaoxiControl();
	dongxiaoxi = sc.GetDongxiaoxi(id);

%>

<form action="dongxiaoxi_updatechuli.jsp?id=<%=id %>"  method="post" name="form" style="text-align:center; ">
      <p>
      <div>
        <h3>动态新闻标题：
          <input type="text" name="dongxiaoxiName" style=" height:20px" value="<%=dongxiaoxi.getDongxiaoxiName() %>">
          <br>
        </h3>
      </div>
      <div></div>
      <div>
        <h3>动态新闻时间：
          <input type="text" name="dongxiaoxiTime" style=" height:20px" value="<%=dongxiaoxi.getDongxiaoxiTime() %>">
          <br>
        </h3>
      </div>
      <div></div>
      <div>
        <h3>动态新闻内容：<br>
      </h3>
      </div>
      <textarea name="dongxiaoxiNeirong" rows="10" cols=36 wrap="physical" style="width:600px;height:200px" >
    </textarea>
      <br>
      <input type="submit" value="提交信息" name="submit" class="anniu">
      	<input type="reset" value="取消" name="reset" class="anniu">
    </form>
    
</div>      
<p>&nbsp;</p>	
</div>
<!--	显示区域	END-->
<!--清除浮动-->
</div>
          <div align="center">
		<br>
		<br>
		
</div>
        <td width="28">
        <table width="20" height="728" border="0">
            <tr>
              <td width="14">&nbsp;</td>
            </tr>
          </table>
          </td>
      </tr>
      <tr>
        <td height="28" colspan="2" >&nbsp;</td>
      </tr>
    </table>
  </div>
  
  <div id="apDiv1">

    <div id="frontcopyright">
      <div></div>
      <div>&nbsp;</div>
      <div>
        <div align="center"> 2012-2050东北师范大学心灵港湾</div>
      </div>
      <div> </div>
      <div>
        <div align="center">制作：杜娟  李行 李世操</div>
      </div>
      <div>&nbsp;</div>
      <div>&nbsp;</div>
    </div>
  </div>
</div>
    
  </body>
</html>
